package com.ctw.mapmycity.model;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "account")
public class Account implements Serializable {
	
	private String email;
	private String fullName;
	private String password;
	private String token;
	private String authType;
	
	public Account(){
		super();
	}

	public Account(String email, String fullName, String password,
			String token, String authType) {
		super();
		this.email = email;
		this.fullName = fullName;
		this.password = password;
		this.token = token;
		this.authType = authType;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getAuthType() {
		return authType;
	}

	public void setAuthType(String authType) {
		this.authType = authType;
	}

	@Override
	public String toString() {
		return "Account [email=" + email + ", fullName=" + fullName
				+ ", password=" + password + ", token=" + token + ", authType="
				+ authType + "]";
	};
}
